package club.cearnach.core.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 阮胜
 * @version 1.0
 * @date 2018/6/12 14:49
 */
@Data
@Component
@ConfigurationProperties(prefix = "ruan.movie.security")
public class MovieSecurityProperties {
    private String adminLoginExpiredUrl = "/admin/login/expired";
    private String adminLoginInvalidUrl =  "/admin/login/invalid";
    private String adminLoginPageUrl = "/admin/login/form";
    private String adminLoginCheckUrl = "/admin/login/check";
    private String adminLogoutUrl = "/admin/logout";
    private String rolePrefix = "ROLE_";

}
